package com.service.impl;

import com.dao.UserInfoDao;
import com.entity.po.UserInfo;
import com.entity.vo.LoginVo;
import com.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;

/**
 * Created by Germmy on 2018/6/30.
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserInfoDao userInfoDao;

    @Override
    public UserInfo selectByUserNameAndPassword(LoginVo loginVo) {
        return userInfoDao.selectByUserNameAndPassword(loginVo);
    }
}
